package com.rivulet.foreign.service;

import com.rivulet.foreign.pojo.Vacation;
import com.rivulet.foreign.tools.Results;

/**
 * {事假功能接口}
 *
 * @author xujiac
 * @create 2021/6/3
 * @since 1.0.0
 */
public interface VacationService {
    /**
     * 检查个人事假申请信息
     *
     * @param student_id
     * @return
     */
    public Results checkMyVacation(String student_id);

    /**
     * 查看所有未审批的事假申请信息
     *
     * @return
     */
    public Results checkYetVacation();

    /**
     * 新增事假申请
     *
     * @param vacation
     * @return
     */
    public Results setVacation(Vacation vacation);

    /**
     * 处理事假申请
     *
     * @param user_id
     * @param vacation
     * @return
     */
    public Results dealVacation(String user_id, Vacation vacation);
}
